﻿using System;
using System.Collections.Generic;
using System.Text;
using FDSimpleModelGenerator.Entities;

namespace FDSimpleModelGenerator.IServices
{
    /// <summary>
    /// 用户服务接口
    /// </summary>
    public interface ISysUserService : IBasicService<SysUser>
    {
        bool IsValidLogin(string userName, string password, out int id);

        bool IsExists(string userName);

        int GetId(string userName);
    }
}
